
import prettier from 'prettier';

export function prettifyJs(source: string) {
    return prettier.format(source, {
        parser: 'babel',
        semi: false,
        singleQuote: true
    });
}
